package com.qf.dbUtil.common.result;

/**
 * 功能说明
 *
 * @author yihuan
 * @data 2020-10-1315:05:10
 */
public enum ResponseEnum {
    SUCCESS("200","成功"),
    LOGIN_USERNAME_NO_EXISTS("700","用户名不存在"),
    LOGIN_PASSWORD_WRONG("701","用户名或者密码错误"),
    MONEY_NOT_ENOUTH("600","余额不足"),
    NO_LOGIN("601","请先登录"),
    SMS_SEND_ERROR_BUSINESS_LIMIT_CONTROL("602","短信发送过于频繁"),
    SMS_SEND_ERROR("603","短信发送失败"),
    CHECKCODE_ERROR("604","验证码错误"),
    USER_NO_FIND("605","用户没有注册")
    ;
    private String code;
    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    ResponseEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
